﻿package com.kingtone.rongji.tool;

public interface AppContasts {

	public static final String IS_LOGINED_KEY = "isLogined";
	
	public static final String FIRSTLAUNCH = "firstLaunch";
	
	public static final String USERNAME_KEY = "username";
	
	public static final String USERID_KEY = "userId";
	//自提点名称
	public static final String STORE_NAME= "storeName";
	//自提点地址
	public static final String STORE_ADDRESS= "storeAddress";
	
	//Region数据库表字段定义
	public static final String DATABASE_NAME= "RongJi_db";
	public static final int DATABASE_VERSION= 10;
	public static final String PROVINCE_TABLE= "province";
	public static final String CITY_TABLE= "city";
	public static final String COUNTY_TABLE= "county";
	public static final String ID= "_id";
	public static final String REGION_NAME= "region_name";
	public static final String REGION_ID= "region_id";
	public static final String PARENT_ID= "parent_id";
	
	//本地数据库是否已经存储Region信息
	public static final String IS_ALERY_LOAD_REGION= "IsAlreadyLoadRegion";
	
	public static final int TO_MDOFY_ADDRESS= 1; //修改地址
	public static final int TO_ADD_ADDRESS = 2;//新增地址
	
	//订单类型
	public static final int ORDER_TYPE_ALL= 0; //全部订单
	public static final int ORDER_TYPE_OK= 1;//正常订单
	public static final int ORDER_TYPE_CANCELED= 2; //已取消订单
	
	//订单状态
	public static final int ORDER_STATUS_WAITING_RECEIVE= 100; //获取待收货订单
	public static final int ORDER_STATUS_WAITING_PAY= 1; //获取待支付订单
	public static final int ORDER_STATUS_ALL= -1; //获取全部订单
	
	//订单标志
	public static final int ORDER_FALG_ONE_MONTH= 1; //一个月内订单
	public static final int ORDER_FALG_WITHOUT_ONE_MONTH= 2; //一个月意外订单
	public static final int ORDER_FALG_CANCELED = 3; //已取消订单
	
	//购物篮中的产品列表
	public static final String CART_PRODUCT_LIST= "cartList";
	
	//默认自提点ShippingId
	public static final String DEFAULT_STORE_ADDRESS_SHIPPING_ID= "defaultShippingId";
	
	public static final String BROADCAST_ACTION_CLOSE_ACTIVITY = "close_activity";
}
